package com.chinadci.smartcommunitysystembackstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 生活缴费
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("scs_pay")
@ApiModel(value="ScsPay对象", description="")
public class ScsPay implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "缴费id")
    @TableId(value = "p_id", type = IdType.AUTO)
    private Integer pId;

    @ApiModelProperty(value = "业主编号")
    private Integer oId;

    @ApiModelProperty(value = "业主编号")
    private ScsOwner owner;

    private List<ScsOwner> ownerList;

    @ApiModelProperty(value = "缴费编号")
    private String pNumber;

    @ApiModelProperty(value = "缴费金额")
    private Float pMoney;

    @ApiModelProperty(value = "缴费时间")
    private String pCreateTime;

    @ApiModelProperty(value = "缴费类型")
    private ScsPayType pay;

    private List<ScsPayType> typeList;

    private Integer ptId;

    @ApiModelProperty(value = "支付方式")
    private String pWay;

    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String type;


}
